package cn.sytton.taffe.web.flw.listener;

import cn.sytton.taffe.web.flw.entity.FormInstanceEntity;
import cn.sytton.taffe.web.flw.help.constant;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * 流程监听对象
 *
 * @author skyrock
 */
@Data
@Accessors(chain = true)
public class ProcessListenerEntity {
    private constant.FLOW_LISTENER_EVENT event;
    private constant.ACTIVITY_TYPE activityType;

    private String processKey;
    private String processDefId;
    private String processInstanceId;
    private String businessId;
    private String taskId;
    private String taskName;

    private Map<String, Object> variables;
    private FormInstanceEntity formInstance;

    private String tenantId;
}
